#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL;
namespace Cephei.QL.Instruments
{
     // <summary> 
	// ! This instrument is an aggregate of other instruments. Its NPV is the sum of the NPVs of its components, each possibly multiplied by a given factor. 
	// <b>Example: </b> \link Replication.cpp static replication of a down-and-out barrier option \endlink  \warning Methods that drive the calculation directly (such as recalculate(), freeze() and others) might not work correctly.  \ingroup instruments
	// </summary>
    [Guid ("BF2ECA7C-8B87-42ca-897B-6133DD13F746"),ComVisible(true)]
	public interface ICompositeInstrument : Cephei.QL.IInstrument
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 ICompositeInstrument Add(Cephei.QL.IInstrument instrument, Microsoft.FSharp.Core.FSharpOption<Double> multiplier);
        
		 Boolean IsExpired {get;}
        
		 ICompositeInstrument Subtract(Cephei.QL.IInstrument instrument, Microsoft.FSharp.Core.FSharpOption<Double> multiplier);
    }

    // <summary> 
	// ! This instrument is an aggregate of other instruments. Its NPV is the sum of the NPVs of its components, each possibly multiplied by a given factor. 
	// <b>Example: </b> \link Replication.cpp static replication of a down-and-out barrier option \endlink  \warning Methods that drive the calculation directly (such as recalculate(), freeze() and others) might not work correctly.  \ingroup instruments Factory
	// </summary>
   	[ComVisible(true)]
    public interface ICompositeInstrument_Factory // : Collection_Factory<ICompositeInstrument, ICell<ICompositeInstrument>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
    }
}

